package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 薪资信息表 sys_salary
 */
public class SysSalary extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 薪资记录id */
    @Excel(name = "薪资记录ID", cellType = Excel.ColumnType.NUMERIC)
    private Long salaryId;
    /** 员工id */
    @Excel(name = "员工ID", cellType = Excel.ColumnType.NUMERIC)
    private Long userId;
    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String userName;
    /** 部门id */
    @Excel(name = "部门ID", cellType = Excel.ColumnType.NUMERIC)
    private Long deptId;
    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;
    /** 薪资月份 */
    @Excel(name = "薪资月份")
    private String salaryMonth;
    /** 基本工资 */
    @Excel(name = "基本工资")
    private BigDecimal baseSalary;
    /** 奖金 */
    @Excel(name = "奖金")
    private BigDecimal bonus;
    /** 津贴 */
    @Excel(name = "津贴")
    private BigDecimal allowance;
    /** 扣款 */
    @Excel(name = "扣款")
    private BigDecimal deduction;
    /** 个人所得税 */
    @Excel(name = "个人所得税")
    private BigDecimal tax;
    /** 实发工资 */
    @Excel(name = "实发工资")
    private BigDecimal netSalary;
    /** 状态 */
    @Excel(name = "状态")
    private String status;
    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    // getter/setter
    public Long getSalaryId() { return salaryId; }
    public void setSalaryId(Long salaryId) { this.salaryId = salaryId; }
    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }
    public String getUserName() { return userName; }
    public void setUserName(String userName) { this.userName = userName; }
    public Long getDeptId() { return deptId; }
    public void setDeptId(Long deptId) { this.deptId = deptId; }
    public String getDeptName() { return deptName; }
    public void setDeptName(String deptName) { this.deptName = deptName; }
    public String getSalaryMonth() { return salaryMonth; }
    public void setSalaryMonth(String salaryMonth) { this.salaryMonth = salaryMonth; }
    public BigDecimal getBaseSalary() { return baseSalary; }
    public void setBaseSalary(BigDecimal baseSalary) { this.baseSalary = baseSalary; }
    public BigDecimal getBonus() { return bonus; }
    public void setBonus(BigDecimal bonus) { this.bonus = bonus; }
    public BigDecimal getAllowance() { return allowance; }
    public void setAllowance(BigDecimal allowance) { this.allowance = allowance; }
    public BigDecimal getDeduction() { return deduction; }
    public void setDeduction(BigDecimal deduction) { this.deduction = deduction; }
    public BigDecimal getTax() { return tax; }
    public void setTax(BigDecimal tax) { this.tax = tax; }
    public BigDecimal getNetSalary() { return netSalary; }
    public void setNetSalary(BigDecimal netSalary) { this.netSalary = netSalary; }
    public String getStatus() { return status; }
    public void setStatus(String status) { this.status = status; }
    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }
    @Override
    public String toString() {
        return "SysSalary{" +
                "salaryId=" + salaryId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", salaryMonth='" + salaryMonth + '\'' +
                ", baseSalary=" + baseSalary +
                ", bonus=" + bonus +
                ", allowance=" + allowance +
                ", deduction=" + deduction +
                ", tax=" + tax +
                ", netSalary=" + netSalary +
                ", status='" + status + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
} 